<template>
  <div>
    <h2>Music</h2>
    <router-link tag="button" to="/home/music/jay?name=周杰伦&hobby=艾玛"
      >JAY</router-link
    >
    <router-link
      tag="button"
      :to="{
        path: '/home/music/jj',
        query: {
          name: '林俊杰',
          hobby: '打游戏',
        },
      }"
      >JJ</router-link
    >
    <router-link
      tag="button"
      :to="{
        name: 'ESON',
        query: {
          name: '陈奕迅',
          hobby: '烫头',
        },
      }"
      >ESON</router-link
    >
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Music",
  // mounted() {
  //   console.log("news", this.$route.meta);
  // },
};
</script>

<style></style>
